home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / iomon2.zip / IOEQU.INC < prev    next >
Text File  |  1991-06-10  |  2KB  |  54 lines

  1. ;---------------------------------------------------------------    
  2. ;ioequ.inc - equates for I/O Monitor                           |
  3. ;--------------------------------------------------------------|
  4. ;
  5. NULL            EQU     0
  6. TRUE            EQU     -1
  7. FALSE           EQU     NOT TRUE
  8. BUF_SIZE        EQU     4096
  9. DOS_PRT_STRING  EQU     9  
  10. DOS_TSR_FUNC    EQU     31h
  11. OK              EQU     0
  12. BEEP            EQU     7
  13. CR              EQU     13
  14. LF              EQU     10
  15. TAB             EQU     9
  16.  
  17. PRESENT         EQU     80H
  18. DPL0            EQU     0
  19. DPL3            EQU     3
  20. INT_GATE        EQU     0eh             ;80386 int gate
  21. USER_INT        EQU     61h
  22. RW_DATA         EQU     92h             ;read/write data
  23. ER_CODE         EQU     9ah             ;execute/read code
  24. TSS_DESC        EQU     89h             ;Task State Segment descriptor
  25. IO_MAP_SIZE     EQU     8192
  26. TRAP_FLAG       EQU     100h            ;bits in eflags
  27. INT_FLAG        EQU     200h
  28. NT_FLAG         EQU     4000h           
  29. GEN_PROT_EXCEP  EQU     0dh             ;General Protection int number
  30.  
  31. INPUT           EQU     0               ;used in io_table to describe
  32. OUTPUT          EQU     10h             ;the various I/O instructions
  33. ABYTE           EQU     1
  34. AWORD           EQU     2
  35. CONSTANT        EQU     8
  36.  
  37. CONTAINS_DATA   EQU     80h
  38. INT_OPCODE      EQU     0cdh
  39. INT3_OPCODE     EQU     0cch
  40. VID_PAGE_SIZE   EQU     4000
  41. EXPECT_INT1     EQU     1
  42. ;------end of ioequ.inc
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.             
  54.